/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module visa1.h - Header file for VISA I communication protocol functions |
   @end
   
$Log: /SoftPay/SPK2SIM/Source/Visa1/visa1.h $ 
 * 
 * 2     12/01/99 4:25p Kevin_v1
 * Modularity
 * 
 * 1     7/19/99 5:46p Jim_b4
 * 
 * 1     7/19/99 4:31p Jim_b4
 * 
 * 2     6/09/99 11:22a Monique_b1
 * Change headers and file names for SP 2000
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/


#ifndef VSVISA1_H
#define VSVISA1_H

int inClearReceiveBuffer (void);
int inSendReceiveVISA1Packet (COMM_OBJECT *obCommunication, PACKET_OBJECT *psrCommPackage, int inSTXTO, int	inLRCTO, int inENQTO, int inEOTTO);
int inTxVisa1Packet (char *pchTransBuf, int inLen, 	VS_BOOL fWaitACKBEL);
int inReadVisa1RespPkt_v1 (char *stBuf, int  inBufSize, int  *pinReceiveSize, int  inSTXTO, int  inLRCTO);
int inFormPacket (char *stBuf, int  inRcVSufSz, int  inLRCTO);

#endif /* VSGPSPIP_DEFINED */
